/**
 * 
 */
package it.uniroma3.dia.digraph.algorithm.stackedTri;

import it.uniroma3.dia.digraph.algorithm.utility.stackedtri.StackedTriNode;

import java.util.Comparator;

/**
 * @author Cionzo
 *
 */
public class ComparatorById implements Comparator<StackedTriNode>{

	@Override
	public int compare(StackedTriNode o1, StackedTriNode o2) {
		return o1.getId().compareTo(o2.getId());
	}
}